package com.bayi.storage.model

import com.alibaba.fastjson.annotation.JSONField
import com.bayi.storage.base.CanCopyModel

/**
 * @author Administrator on 2024-05-31.
 *
 *
 * 站在顶峰 看世界
 * 落到谷底 思人生
 */
class StorageCabinetModel : CanCopyModel(){

    /**
     * 楼层库区
     */
    @JSONField(name = "floor")
    var floorArea: String = ""

    /**
     * IP
     */
    @JSONField(name = "ip")
    var ip: String = ""

    /**
     * HTTP
     */
    @JSONField(name = "http")
    var http: String = ""

    /**
     * 固定列
     */
    @JSONField(name = "fixedColumn")
    var fixedColumn: String = ""

    /**
     * 倒排序
     */
    @JSONField(name = "reverseSort")
    var reverseSort: Boolean = true

    /**
     * 总列数
     */
    @JSONField(name = "listCount")
    var listCount: String = ""

    /**
     * 左侧架体数
     */
    @JSONField(name = "leftFrame")
    var leftFrame: String = ""

    /**
     * 右侧架体数
     */
    @JSONField(name = "rightFrame")
    var rightFrame: String = ""

    /**
     * 移动间隔
     */
    @JSONField(name = "movingInterval")
    var movingInterval: String = ""

    /**
     * 延时启动
     */
    @JSONField(name = "delayStart")
    var delayStart: String = ""

    /**
     * 延时停止
     */
    @JSONField(name = "delayStop")
    var delayStop: String = ""

    /**
     * 移动超时时间
     */
    @JSONField(name = "moveTimeout")
    var moveTimeout: String = ""

    /**
     * 取书编号
     */
    @JSONField(name = "takeOutFileNo")
    var takeOutFileNo: Long = 0L

    /**
     * 还书编号
     */
    @JSONField(name = "takeInFileNo")
    var takeInFileNo: Long = 0

    /**
     * 账号
     */
    @JSONField(name = "account")
    var account: String? = ""

    /**
     * 密码
     */
    @JSONField(name = "password")
    var password: String? = ""


    init {
        floorArea = "2-2-1"
        ip = "192.168.0.21"
        http = "http://192.168.1.191:8090/"
        fixedColumn = "4"
        listCount = "4"
        leftFrame = "3"
        rightFrame = "0"
        reverseSort = true
        account = "admin"
        password = "admin123"
    }
}